﻿using System;

namespace AccelerateSensor.Model.Node
{
    public class NodePrivateAttributeInfo
    {
        public int AcquireDataType { get; set; }
        public int DataLength { get; set; }
        public int SensorFreq { get; set; }
        public int SensorRange { get; set; }
        public bool XAcquireEnable { get; set; }
        public bool YAcquireEnable { get; set; }
        public bool ZAcquireEnable { get; set; }
        public bool XTrigEnable { get; set; }
        public bool YTrigEnable { get; set; }
        public bool ZTrigEnable { get; set; }
        public float TrigValue { get; set; }
        public int HighPassCutoffFreq { get; set; }

        public override string ToString()
        {
            return $"NodePrivateAttributeInfo:{Environment.NewLine}" +
                   $"AcquireDataType: {AcquireDataType}, DataLength: {DataLength}, {Environment.NewLine}" +
                   $"SensorFreq: {SensorFreq}, SensorRange: {SensorRange}, {Environment.NewLine}" +
                   $"XAcquireEnable: {XAcquireEnable}, YAcquireEnable: {YAcquireEnable}, ZAcquireEnable: {ZAcquireEnable}, {Environment.NewLine}" +
                   $"XTrigEnable: {XTrigEnable}, YTrigEnable: {YTrigEnable}, ZTrigEnable: {ZTrigEnable}, {Environment.NewLine}" +
                   $"TrigValue: {TrigValue}, HighPassCutoffFreq: {HighPassCutoffFreq}.";
        }
    }
}
